package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.weixing.mall.core.support.auth.SysAuth;
import com.weixing.mall.provider.model.query.FrontShipperReprotQuery;
import com.weixing.mall.provider.model.vo.report.FrontShipperReprot;

import java.util.Map;

/**
 * @program: mall-master
 * @description: 发货部前端报表接口
 * @author: wangfang
 * @create: 2021-11-10 07:48
 **/

public interface IFrontShipperReprotService {
    /**
     * 日发货报表
     * @param frontShipperReprotQuery
     * @return
     */
    IPage<FrontShipperReprot>  dayRepot(IPage page, FrontShipperReprotQuery frontShipperReprotQuery);

    /**
     * 月发货报表
     * @param frontShipperReprotQuery
     * @return
     */

    IPage<FrontShipperReprot>  monthRepot(IPage page,FrontShipperReprotQuery frontShipperReprotQuery);

    /**
     * 发货报表首页
     * @return
     */
    Map<String,Object> total(Long uid);

    /**
     * 日发货合计
     * @param frontShipperReprotQuery
     * @return
     */
    FrontShipperReprot dayRepotTotal(FrontShipperReprotQuery frontShipperReprotQuery);

    /**
     * 月发货报表合计
     * @param frontShipperReprotQuery
     * @return
     */
    FrontShipperReprot  monthRepotTotal(FrontShipperReprotQuery frontShipperReprotQuery);

    Long getShippId(SysAuth sysAuth);
}
